#!/bin/bash
#systemctl stop docker.socket docker
DIR_Backup=/mnt
DIR_install=/mnt
cd ${DIR_Backup}
COPY_SRC=`ls`
echo ${COPY_SRC}
cd  ${DIR_install}
for src in ${COPY_SRC}; do
    echo "restore [ ${src} ] ..."
    pv  ${DIR_Backup}/${src} | tar -zxpf -
done